export default {
    url: "/bpm/workflow/saveIns",
    method: "GET",
    name:"任务保存",
    req:[
        {
            en: "id",
            cn: "流程ID",
            type:"string"
        },
        {
            en: "mode",
            cn: "保存时为deal",
            type:"string"
        },
        {
            en: "logId",
            cn: "当前节点日志ID",
            type:"string"
        },
        {
            en: "validate",
            cn: "保存时为false",
            type:"boolean"
        },
        {
            en: "data",
            cn: "保存的字段",
            type:"object"
        },
        {
            en: "files",
            cn: "保存的附件",
            type:"object",
            children:[
                {
                    en: "name",
                    cn: "文件名",
                    type:"string"
                },
                {
                    en: "type",
                    cn: "文件类型",
                    type:"string"
                },
                {
                    en: "id",
                    cn: "文件ID",
                    type:"string"
                },
                {
                    en: "creator",
                    cn: "上传的用户",
                    type:"string"
                }
            ]
        }
    ],
    reqEg:[{"data":{"流程发起人":"黄*雯"},"files":[{"name":"6152238.jpg","type":"image/jpeg","id":"/2019-12-26/aab12bd26f5b417299a3f5615234a0f1.jpg","creator":"412","action":"upload"}],"sign":{"idea":"同意","info":"","files":[]},"id":"5e0407235b8e1841ccba013b","mode":"deal","logId":"5e0407235f5cf782fb1a1414","validate":false}],
    resp:[],
    respEg: {"success":true,"errMessage":"","data":null}
}